home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
src
/
include
/
yydgraph.w
< prev
next >
Wrap
Text File
|
1993-07-08
|
2KB
|
49 lines
# define beginint(a)
# define closeint(a)
# define readint(a) (void) fscanf (yyf, "%d", & a);
# define writeint(a) (void) fprintf (yyf, "%d", a);
# define getint(a) yyGet ((char *) & a, sizeof (a));
# define putint(a) yyPut ((char *) & a, sizeof (a));
# define copyint(a, b)
# define equalint(a, b) a == b
# define beginbool(a)
# define closebool(a)
# define readbool(a) a = fgetc (yyf) == 'T';
# define writebool(a) (void) fputc (a ? 'T' : 'F', yyf);
# define getbool(a) yyGet ((char *) & a, sizeof (a));
# define putbool(a) yyPut ((char *) & a, sizeof (a));
# define copybool(a, b)
# define equalbool(a, b) a == b
# define begintIdent(a)
# define closetIdent(a)
# define readtIdent(a) a = yyReadIdent ();
# define writetIdent(a) WriteIdent (yyf, a);
# define gettIdent(a) yyGetIdent (& a);
# define puttIdent(a) yyPutIdent (a);
# define copytIdent(a, b)
# define equaltIdent(a, b) a == b
# define begintTree(a)
# define closetTree(a)
# define readtTree(a) yyReadHex ((unsigned char *) & a, sizeof (a));
# define writetTree(a) yyWriteHex ((unsigned char *) & a, sizeof (a));
# define gettTree(a) yyGet ((char *) & a, sizeof (a));
# define puttTree(a) yyPut ((char *) & a, sizeof (a));
# define copytTree(a, b)
# define equaltTree(a, b) memcmp ((char *) & a, (char *) & b, sizeof (a)) == 0
# define beginPredicate(a)
# define closePredicate(a)
# define readPredicate(a) yyReadHex ((unsigned char *) & a, sizeof (a));
# define writePredicate(a) yyWriteHex ((unsigned char *) & a, sizeof (a));
# define getPredicate(a) yyGet ((char *) & a, sizeof (a));
# define putPredicate(a) yyPut ((char *) & a, sizeof (a));
# define copyPredicate(a, b)
# define equalPredicate(a, b) memcmp ((char *) & a, (char *) & b, sizeof (a)) == 0
# define begintDepGraph(a) a = NoDepGraph;
# define closetDepGraph(a) yyChild = a; a = NoDepGraph; yyReleaseDepGraph (yyChild);
# define readtDepGraph(a) yyReadDepGraph (a);
# define writetDepGraph(a) yyWriteDepGraph (a);
# define gettDepGraph(a) yyGetDepGraph (a);
# define puttDepGraph(a) yyPutDepGraph (a);
# define copytDepGraph(a, b) yyCopyDepGraph (b, & a);
# define equaltDepGraph(a, b) IsEqualDepGraph (a, b)